<?php
include("conn.php");

$name = $_POST['name'];
$time = $_POST['time'];
$num = $_POST['num'];

if( !($name && $time && $num) && !$conn) die("Cannot be processed");

$insert = "INSERT INTO score(name,time,num) VALUES('$name',$time,$num)";

if($conn->query($insert) === TRUE){
    echo 'success';
}